package com.adminsystem.java.excelFile.pojo.param;

import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 学生成绩分页查询参数
 * @author wangpeiao
 */
@Data
public class StudentScorePageParam {
    // 分页参数
    @NotNull(message = "当前页码不能为空")
    @Min(value = 1, message = "页码必须大于等于1")
    private int pageNum = 1;

    @NotNull(message = "每页数量不能为空")
    @Min(value = 1, message = "每页数量必须大于等于1")
    private int pageSize = 10;

    // 查询条件
    private String className;
    private String gender;
}
